const state = {
    palyerObj: {},
    playIndex:0,
    playList: ['https://mdup.apdcdn.tc.qq.com/vcloud1022.tc.qq.com/1022_f168c4476f584329af521ca8cb53a4f4.f0.mp4?vkey=177517D190E154F1B708FB0A03DFB55B8AB726E884CF6295D47D26750A7E8A50E6FEC82735303B2F504262A07631A9ECA825B7C7FF340D2935EE13D1411F7CAD11F3B50D8AB9709DBEEDC3403D78A079A9B8E248B89FE03C&sha=0','https://dss0.bdstatic.com/-0U0bnSm1A5BphGlnYG/tam-ogel/ffdae772a72caf81ee6c40a7237caee8_3840_652.mp4','//vjs.zencdn.net/v/oceans.mp4']
}
const mutations = {
    ADDCRUMBSARR: (state:any,video: any)=> {
        state.palyerObj = video
    },
    EDITINDEX: (state:any,index: number)=> {
        state.playIndex = index
    },
}

export default {  
    namespaced: true, 
    state,
    mutations,
};